package com.evil.application.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 应用提醒设置表
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@TableName(value = "evil_application_notify_setting")
public class ApplicationNotifySetting implements Serializable {

    /**
     * id
     */
    @TableId(value = "application_notify_setting_id", type = IdType.AUTO)
    private Long applicationNotifySettingId;

    /**
     * 企业id
     */
    @TableField(value = "enterprise_id")
    private Long enterpriseId;

    /**
     * 应用id
     */
    @TableField(value = "application_id")
    private Long applicationId;

    /**
     * 应用版本(0:发布版, 1:设计版)
     */
    @TableField(value = "application_version")
    private Integer applicationVersion;

    /**
     * 待办提醒(0:否, 1:是)
     */
    @TableField(value = "notify_pending")
    private Integer notifyPending;

    /**
     * 申请结果(0:否, 1:是)
     */
    @TableField(value = "notify_result")
    private Integer notifyResult;

    /**
     * 抄送提醒(0:否, 1:是)
     */
    @TableField(value = "notify_carbon_copy")
    private Integer notifyCarbonCopy;

    /**
     * 回退通知(0:否, 1:是)
     */
    @TableField(value = "notify_fallback")
    private Integer notifyFallback;

    /**
     * 促办通知(0:否, 1:是)
     */
    @TableField(value = "notify_promotion")
    private Integer notifyPromotion;

    /**
     * 留言通知(0:否, 1:是)
     */
    @TableField(value = "notify_message")
    private Integer notifyMessage;

    /**
     * 超时相关通知(0:否, 1:是)
     */
    @TableField(value = "notify_overtime")
    private Integer notifyOvertime;

    /**
     * 微信提醒(0:关闭, 1:开启)
     */
    @TableField(value = "wx_notify")
    private Integer wxNotify;

    /**
     * 邮箱提醒(0:关闭, 1:开启)
     */
    @TableField(value = "mail_notify")
    private Integer mailNotify;

    /**
     * 是否已删除(0:否, 1:是)
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 创建人
     */
    @TableField(value = "creator_id")
    private Long creatorId;

    /**
     * 创建人名字
     */
    @TableField(value = "creator_name")
    private String creatorName;

    /**
     * 修改操作人
     */
    @TableField(value = "modifier_id")
    private Long modifierId;

    /**
     * 修改操作人名字
     */
    @TableField(value = "modifier_name")
    private String modifierName;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 更新时间
     */
    @TableField(value = "updated")
    private Date updated;

    private static final long serialVersionUID = 1L;

    public static final String COL_APPLICATION_NOTIFY_SETTING_ID = "application_notify_setting_id";

    public static final String COL_APPLICATION_ID = "application_id";

    public static final String COL_APPLICATION_VERSION = "application_version";

    public static final String COL_NOTIFY_PENDING = "notify_pending";

    public static final String COL_NOTIFY_RESULT = "notify_result";

    public static final String COL_NOTIFY_CARBON_COPY = "notify_carbon_copy";

    public static final String COL_NOTIFY_FALLBACK = "notify_fallback";

    public static final String COL_NOTIFY_PROMOTION = "notify_promotion";

    public static final String COL_NOTIFY_MESSAGE = "notify_message";

    public static final String COL_NOTIFY_OVERTIME = "notify_overtime";

    public static final String COL_WX_NOTIFY = "wx_notify";

    public static final String COL_MAIL_NOTIFY = "mail_notify";

    public static final String COL_IS_DELETED = "is_deleted";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_CREATOR_NAME = "creator_name";

    public static final String COL_MODIFIER_ID = "modifier_id";

    public static final String COL_MODIFIER_NAME = "modifier_name";

    public static final String COL_CREATED = "created";

    public static final String COL_UPDATED = "updated";
}